extends AbstractContentResource
Dav accessible
Represents a version of a directory, containing the members which are in that directory in the repository snapshot
Properties
Name | Returns | Notes | Example |
---|---|---|---|
children | ResourceList | ||
directoryNode | DirectoryNode | ||
index | RenderFileResource | Get the index page for this directory, if it exists | |
title | String | Return the title of the directory, which is the title attribute of the directory's HTML page if there is one, otherwise its name | |
body | String | Get the body attribute of the index page in this folder | |
paramNames | List | Get the script parameters from the index page in this folder | |
branch | Branch | ||
hash | String | ||
subFolders | List | Get a list of subfolders of this folder | |
files | List | Get a list of files (not folders) in this directoryu | |
itemType | String | ||
searchCategory | String | ||
searchTags | String |
Methods
Name | Returns | Notes | Example |
---|---|---|---|
is ( type ) | boolean | Returns true for "folder" and "directory". Does not return true for directories starting with a full stop (ie hidden directories) Returns true for physicalFolder to distinguish it from other types of collections |
Ask a question, or offer an answer